package com.shine.dao;

import com.shine.entity.ShuiHu;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

/**
 * 数据访问层接口
 * 持久层接口
 */
public interface ShuiHuDao {
    Integer insertShuiHu(ShuiHu shuiHu);
    Integer deleteShuiHu(Integer id);
    Integer updateShuiHu(ShuiHu shuiHu);
    ShuiHu selectShuiHuById(Integer id);
    ShuiHu selectShuiHuByUsername(String username);
    List<ShuiHu> selectAllShuiHu() throws IOException, SQLException;
}
